<?php
class fonduriComponents extends sfComponents
{
    /**
     * Registrul de Fonduri
     */
    public function executeRegistru(sfWebRequest $request)
    {
        $this->fonduri = FondPeer::getFonduri();
        $this->form = new FondForm();
        $this->form->request = $this->moduleName . '/xAdd';
    }

    /**
     * Adaugarea unei contributii
     */
    public function executeContributie(sfWebRequest $request)
    {
        $this->form = new ContributieFondForm();
        $this->form->request = $this->moduleName . '/xContributie';
    }

    /**
     * Adaugarea unui venit
     */
    public function executeVenit(sfWebRequest $request)
    {

    }

    /**
     * Inregistrarea unei plăţi
     */
    public function executePlata(sfWebRequest $request)
    {

    }

}
